package com.jshop.common.constant;

/**
 * @author jon
 * @date 2019-08-26 09:57
 */
public class ApiConstant {
    /**
     * token
     */
    public static final String LOGIN_TOKEN_KEY = "SHOP_TOKEN_KEY";

    public static final String CURRENT_USER_ID = "CURRENT_USER_ID";
    /**
     * 平台信息id固定为1
     */
    public static final int COMPANY_ID=1;
    /**
     * 验证码过期时间
     */
    public static final int CODE_TIME = 60;
    /**
     * token过期时间天
     */
    public static final int EXPIRE_TIME = 30;

    /**
     * 用户注册送成长值 key
     */
    public static final String REGISTER_GROWTH = "REGISTER_GROWTH";

    /**
     * 用户登录赠送的成长值
     */
    public static final String USER_LOGIN = "USER_LOGIN";
    /**
     * 完善个人信息资料
     */
    public static final String IMPROVE_PERSONAL = "IMPROVE_PERSONAL";
    /**
     *  评价
     */
    public static final String EVALUATION = "EVALUATION";
    /**
     *  绑定银行卡
     */
    public static final String BLANK_CARD = "BLANK_CARD";
    /**
     *  日常消费
     */
    public static final String DAILY_CONSUMPTION = "DAILY_CONSUMPTION";
    /**
     * 成长值兑换比列
     * 消费金额和成长值比例 50：1
     */
    public static final String GROWTH_VALUE = "GROWTH_VALUE";

    /**
     * 订单结算时间
     * 订单确认收货后-订单结算给商户时间
     */
    public static final String ACCOUNT_TIME="ACCOUNT_TIME";
    /**
     * ORDER_OVERTIME
     * 订单超时关闭时间(小时)
     */
    public static final String ORDER_OVERTIME = "ORDER_OVERTIME";


    /**
     * ORDER_OVERTIME
     * 拼团订单超时关闭时间(分)
     */
    public static final String GROUP_ORDER_OVERTIME = "GROUP_ORDER_OVERTIME";

    /**
     * CONFIRM_OVERTIME
     * 发货后自动确认收货时间（天）
     */
    public static final String CONFIRM_OVERTIME = "CONFIRM_OVERTIME";

    /**
     *
     * 订单结算日期
     */
    public static final String COMMISSION_TIME = "COMMISSION_TIME";

    /**
     * FINISH_OVERTIME
     * 自动完成交易时间，不能申请售后（天）
     */
    public static final String FINISH_OVERTIME = "FINISH_OVERTIME";
    /**
     * 自动好评时间（天）
     * COMMENT_OVERTIME
     */
    public static final String COMMENT_OVERTIME = "COMMENT_OVERTIME";

    /**
     * 使用优惠卷抽佣金比例
     */
    public static final String USE_COUPON = "USE_COUPON";
    /**
     * 不使用优惠卷抽佣金比例
     */
    public static final String NOT_COUPON = "NOT_COUPON";

    /**
     * 协议
     * CONTRACT
     */
    public static final String CONTRACT = "CONTRACT";

    /**
     * PRIVATE
     * 隐私政策
     */
    public static final String PRIVATE = "PRIVATE";
    /**
     * 商户入驻
     * MERCHANT
     */
    public static final String MERCHANT = "MERCHANT";
    /**
     * VERSION
     * 版本号
     */
    public static final String VERSION = "VERSION";
    /**
     * ABOUT
     * 关于
     */
    public static final String ABOUT = "ABOUT";
    /**
     * @Description: 启动页    START_PAGE
     * @Param:
     * @return:
     * @Author: lkj
     * @Date: 2019-08-27 09:30:20
     */
    public static final String START_PAGE = "START_PAGE";

    /**
     * 新人天数
     */
    public static final String IS_NEW = "IS_NEW";
    /**
     * GROUP_TIME
     * 拼团持续时间（小时）
     */
       public static final String GROUP_TIME = "GROUP_TIME";
    /**
     * 默认的用户头像
     */
    public static final String DEFAULT_USER_AVATAR = "DEFAULT_USER_AVATAR";


    /**
     * 积分规则
     */
    public static final String INTEGRAL_RULES = "INTEGRAL_RULES";
}
